package com.itheima.service.impl;

import com.itheima.dao.BookDao;
import com.itheima.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * @author Xiao
 * @date 2021/9/12
 */
@Service("bookService03")
public class BookServiceImpl03 implements BookService {
    @Autowired
    @Qualifier("bookDao03")
    private BookDao bookDao;
    @Override
    public void serve() {
        System.out.println("BookServiceImpl serve。。。");
        bookDao.save();
    }
}
